package com.csu.letaobackend.serviceM;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.csu.letaobackend.bean.Shop;
import com.csu.letaobackend.commom.CommonResponse;

public interface ShopMService {
      CommonResponse<IPage<Shop>> getAllShops(int pageid, int pagesize);

      CommonResponse<IPage<Shop>> searchShop( int pageid, int pagesize,String shopname,String sellername);

      CommonResponse updateAvailable(int shopid,int available);

      CommonResponse deleteShop(int shopid);
}
